From 5b6f0b9893a146814201a75c55ff223637e2e830 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 14 Nov 2011 10:59:10 +0100 Subject: [PATCH] GtkSpinButton: Clarify clamping behavior in gtk_spin_button_set_range doc * If the current value is outside the range, it will be adjusted to fit within the range, otherwise it will remain unchanged. https://bugzilla.gnome.org/show_bug.cgi?id=664021 --- gtk/gtkspinbutton.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 6be36aac6b..b65f20f19b 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -2147,6 +2147,9 @@ gtk_spin_button_get_increments (GtkSpinButton *spin_button, * @max: maximum allowable value * * Sets the minimum and maximum allowable values for @spin_button. + * + * If the current value is outside this range, it will be adjusted + * to fit within the range, otherwise it will remain unchanged. */ void gtk_spin_button_set_range (GtkSpinButton *spin_button, -- 2.30.2